// pages/course/player.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    videoUrl: "",
    courseTitle: ""
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    const { url, title } = options;
    this.setData({
      videoUrl: decodeURIComponent(url),
      courseTitle: decodeURIComponent(title)
    });

  }
});